Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds the theme tooltip zindex to the share tooltip to make sure it is visible on mobile.
Related Issues
fixes #553
Testing Performed
Screenshots
Checklist
Notes for Reviewers
@Muchete the tooltip now "works" (you can use it, it's not broken) but the width is fixed at 300px, and it is not super pretty. Im fine to leave it for now but let's think about a better design for this (e.g. full width as the details card)
@ptbrowne I didn't find a simple (1-2 lines of codes) way to achieve the same tooltip style on mobile as the details card so I didn't touch anything beyond the zindex for now. Feel free to improve the layout if you have time and take it from here. Note that at the moment, on very small screens (iPhone 13 mini) the tooltip causes a slight layout shift, which is not ideal. This is something that affects all tooltips and documented here: #555